﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Text;
using System.Threading.Tasks;

namespace xKnight.WebCrawling.Core
{
    public class WebCrawlingResult
    {
        public WebCrawlingStatus WebCrawlingStatus { private set; get; }
        
        public string ResponseText { private set; get; }

        public Cookie[] Cookies { private set; get; }

        internal WebCrawlingResult(WebCrawlingStatus webCrawlingStatus, string responseText,Cookie[] cookies=null)
        {
            WebCrawlingStatus = webCrawlingStatus;
            ResponseText = responseText;
            Cookies = cookies;
        }
    }
}
